package com.biz.primus.commodity.vo.frontend;


import com.biz.primus.commodity.vo.frontend.interfaces.AbstractProductReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Collections;
import java.util.List;

/**
 * 首页广告位商品数据请求 vo
 *
 * @author yanweijin
 * @date 2017/2/25
 */
@Data
public class IndexAdProductReqVo extends AbstractProductReqVo {
	/**
	 * 区域ID
	 */
	private Long geoId;

	/**
	 * 门店Id 兼容快喝
	 */
	private Long depotId;

	/**
	 * 门店编码
	 */
	private String depotCode;

	/**
	 * 省仓门店编码
	 */
	private String warehouseDepotCode;

	/**
	 * 用户等级
	 */
	private Integer userLevel = 1;

	@ApiModelProperty("门店经度")
	private BigDecimal depotLon;

	@ApiModelProperty("门店纬度")
	private BigDecimal depotLat;

	@ApiModelProperty("用户经度")
	private BigDecimal userLon;

	@ApiModelProperty("用户纬度")
	private BigDecimal userLat;


	/**
	 * 商品编码
	 */
	private List<String> productCodes = Collections.emptyList();

	@Override
	public Long getShopId() {
		return null;
	}

	@Override
	public boolean isValid() {
		return true;
	}
}
